import request from '@/utils/request'
export function getInspectionRecords(data:any) {
    return request({
      url: '/inspection/list',
      method: 'post',
      data
    });
  }
export function getImage(id:number){
  return request({
    url: `/inspection/getImg/${id}`,
    method: 'get',
  });
}
export function deleteInspectionRecord(data:any) {
    return request({
      url: '/device/inspection',
      method: 'post',
      data
    });
  }

export function batchDeleteInspectionRecords(data:any){
    return request({
      url: '/device/batchDeleteInspectionRecords',
      method: 'post',
      data,
    });
  }